final:
connect slider with window changing state
add shadow in custom window