keep pill on screen after clicking it