Added listener and function for seek-bar