Improve event handling

Signed-off-by: Aniket Pant <me@aniketpant.com>
Removed forced elements and applying styles using .css
Fixes #2
Fixed #3

Signed-off-by: Aniket Pant <me@aniketpant.com>