refactor progress bar and slider view in a big view -> combine spane and panas