Implemented filling direction

[Done]
 - Implemented Horizontal filling direction

[ToDo]
 - Implement Both filling direction