Window Alignment

Driver side window is frameless but is really shakey where it feels like its going to break any minute. Also it may not be aligned properly so it pushs away from the door so when the door is closed there is a gap all around and not flush against the weather stripping. It also rolls up too high. Does anyone know how to fix this?