- removed frame function
- modified that bar moves with cursor
added border-style to canvas element