implemented pause on upper right side