I have the same shower door. Mine was doing the same thing. I used some silicone to secure the top rail. Haven't had any problems since applying it. It is a bit tricky getting it to lock and unlock but I haven't seen a reason to be concerned about it.
__________________
|