Added mouse listeners for click, mouse enter, mouse exit, parametrized numbering of bitmaps