added code for invoking always on top